/**
 * 
 */
package car.manager;

import java.util.Calendar;

/**
 * @author joaojeronimo
 *
 */
public class Car {

	private int id;
	private String brand;
	private String model;
	private String license_plate;
	private Calendar date_of_purchase;
	private Color color;
	private Condition condition;
	private float mileage;
	private float market_value;
	//I can't seem to find a class to store images..
	private Object[] car_fotos;
	private int display_foto;
	
	public Car() {
		super();
	}
	
	
	public boolean repair(float money){
		//algorithm which will change the car's condition
		//in proportion to the money invested in the repair
		return true;
	}

	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getLicense_plate() {
		return license_plate;
	}

	public void setLicense_plate(String license_plate) {
		this.license_plate = license_plate;
	}

	public Calendar getDate_of_purchase() {
		return date_of_purchase;
	}

	public void setDate_of_purchase(Calendar date_of_purchase) {
		this.date_of_purchase = date_of_purchase;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public Condition getCondition() {
		return condition;
	}

	public void setCondition(Condition condition) {
		this.condition = condition;
	}

	public float getMileage() {
		return mileage;
	}

	public void setMileage(float mileage) {
		this.mileage = mileage;
	}

	public float getMarket_value() {
		return market_value;
	}

	public void setMarket_value(float market_value) {
		this.market_value = market_value;
	}

	public Object[] getCar_fotos() {
		return car_fotos;
	}

	public void setCar_fotos(Object[] car_fotos) {
		this.car_fotos = car_fotos;
	}

	public int getDisplay_foto() {
		return display_foto;
	}

	public void setDisplay_foto(int display_foto) {
		this.display_foto = display_foto;
	}
	
	
	
}
